<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="initial-scale=1.0, user-scalable=no" />
<style type="text/css">
html {
height: 100%
}
body {
height: 100%; margin: 0; padding: 0
}
#map_canvas {
height: 100%
}
</style>
<script type="text/javascript">
if (navigator.geolocation) {
var timeOut = 10 * 1000 * 1000;
navigator.geolocation.getCurrentPosition(
displayPos,
displayErr,
{ timeout: timeOut, enableHighAccuracy: true,  maximumAge: 0 });
}
else {
alert("Geolocation is not supported by this browser");
}
function displayPos(position) {
alert("Your latitude is " + position.coords.latitude + ", and your longitude is" + position.coords.longitude);
}

function displayErr(error) {
var errors = {
1: "Geolocation request denied. Check that your browser isn't blocking our request for access!",
2: 'Your position is currently unavilable.',
3: 'The request timed out.'
};
alert("Oh noes! "+ errors[error.code] + " (that's an error, by the way)");
}
</script>
<script type="text/javascript" src="http://maps.googleapis.com/maps/api/js?sensor=true">
</script>
<script type="text/javascript">
function initialize() {
	var mapOptions = {
		center: new google.maps.LatLng(0, 0),zoom: 2,mapTypeId: google.maps.MapTypeId.HYBRID
		};
		
	var map = new google.maps.Map(document.getElementById("map_canvas"),mapOptions);
	}
</script>
<!--<script type="text/javascript" src="res/data.js">
</script>-->
</head>
<body onload="initialize()">
<div id="map_canvas" style="width:100%; height:100%"></div>
</body>
</html>